<%inherit file="/admin/system.html" />

<%block name="innav">
<li><a href="${ reverse_url('system') }">${ _("System") }</a></li>
<li><a href="${ reverse_url('system:networkpool') }">${ _("Network pool") }</a></li>
<li>${ _("Add a new network pool") }</li>
</%block>

<%block name="main">

<div class="small-left-right-form c">
  <form method="POST">${ xsrf_form_html() }
    ${ form.name.label } ${ form.name() }<br/>
    ${ form.html_errors(form.name.errors) }

    ${ form.description.label } ${ form.description() }<br/>
    ${ form.html_errors(form.description.errors) }

    ${ form.start.label } ${ form.start() }<br/>
    ${ form.html_errors(form.start.errors) }

    ${ form.end.label } ${ form.end() }<br/>
    ${ form.html_errors(form.end.errors) }

    ${ form.netmask.label } ${ form.netmask() }<br/>
    ${ form.html_errors(form.netmask.errors) }

    ${ form.gateway.label } ${ form.gateway() }<br/>
    ${ form.html_errors(form.gateway.errors) }

    ${ form.nameservers.label } ${ form.nameservers() }<br/>
    ${ form.html_errors(form.nameservers.errors) }

    ${ form.exclude_ips.label } ${ form.exclude_ips() }<br/>
    ${ form.html_errors(form.exclude_ips.errors) }

    <label>&nbsp;</label><input type="submit" value="${ _('Save') }"/>
  </form>
</div>

</%block>
